package server;

public class Connector {

    private Integer port;   //端口号
    private Integer connectionTimeout;  //超时

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public Integer getConnectionTimeout() {
        return connectionTimeout;
    }

    public void setConnectionTimeout(Integer connectionTimeout) {
        this.connectionTimeout = connectionTimeout;
    }

    @Override
    public String toString() {
        return "Connector{" +
                "port=" + port +
                ", connectionTimeout=" + connectionTimeout +
                '}';
    }
}
